<?php
/**
 * 定义h:page控件
 *
 * @since 1.1.0
 * @package if
 * @subpackage module.ui
 */
class UIPage extends UIControl {
	private static $instance;
	
	/**
	 * Enter description here...
	 *
	 * @return UIPage
	 * @since 1.1.0
	 */
	static function instance() {
		if (!self::$instance) {
			self::$instance = new UIPage();
			self::$instance->addToContainer();
		}
		return self::$instance;
	}
	
	function id() {
		return "ui_control_page";
	}
	
	function uniqueId() {
		return md5(if_unique_key_of_path(IF_ACTION_PATH));
	}
}

?>